package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectInfoTypeEnum;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;

public interface SubjectTypeHandler {

    /**
     * @Description: 枚举身份的识别
     * @return:
     * @Author:  sky
     * @date:  2024/11/8 12:01
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 实际题目的插入
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);

    /**
     * @Description: 根据id获取数据
     * @return:
     * @Author:  sky
     * @date:  2024/11/8 18:28
     */
    SubjectOptionBO query(Integer subjectId);


}
